﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tzync
{
    public class RollbackFile
    {
        private int rbId;
        private string rbFullPath;
        private Pair<int, int> rbVersion;
        private DateTime rbLastSyncTime;
        private SystemType sys;
        private long rbSize;
        private string fileName;

        public void setName(string name)
        {
            fileName = name;
        }
        public void setid(int id)
        {
            rbId = id;
        }
        public void setPath(string path)
        {
            rbFullPath = path;
        }
        public void setVersion(Pair<int, int> version)
        {
            rbVersion = version;
        }
        public void setSize(long size)
        {
            rbSize = size;
        }
        public string getName()
        {
            return fileName;
        }
        public string getPath()
        {
            return rbFullPath;
        }
        public long getSize()
        {
            return rbSize;
        }
        public SystemType getSys()
        {
            return sys;
        }

        public int getId()
        {
            return rbId;
        }
        public DateTime getLastSyncTime()
        {
            return rbLastSyncTime;
        }
        public void setST(DateTime lst)
        {
            rbLastSyncTime = lst;
        }
        public void setSysType(SystemType sys1)
        {
            sys = sys1;
        }
        
    }
}
